//
//  SimpleSelfAlertViewController.swift
//  XMGG
//
//  Created by iDev on 6/29/17.
//  Copyright © 2017 iDev. All rights reserved.
//

import UIKit

class SimpleSelfAlertViewController: UIAlertController {

    override func addAction(_ action: UIAlertAction) {
        super.addAction(action)
        switch action.style {
        case .cancel:
            action.setValue(UIColor.black, forKey: "titleTextColor")
        default:
            action.setValue(TEXTGREEN, forKey: "titleTextColor")
        }
    }
    
}
